package com.banksoft.cps.dao;

import com.banksoft.cps.bean.LoraValueJjll;
import com.banksoft.cps.bean.lora.LoraValue;
import com.banksoft.cps.bean.warpper.LoraValueJjllWarpper;
import com.banksoft.cps.bean.warpper.MonitorValueImportWarpper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/9/13.
 */
@Repository
public interface LoraValueJjllDao {

    void insert(LoraValueJjll bean);

    List<LoraValueJjllWarpper> listByDeveuiList(@Param("deveuiList") List<String> deveuiList,
                                                  @Param("timeB") long timeB,
                                                  @Param("timeE") long timeE);

    LoraValueJjllWarpper findByDeveui(@Param("deveui") String deveui,
                                      @Param("timeB") long timeB,
                                      @Param("timeE") long timeE);
}
